//
//  ZCAreaVCListCell.m
//  ZCJZ
//
//  Created by sujeking on 2019/3/1.
//  Copyright © 2019年 jeking. All rights reserved.
//

#import "ZCAreaVCListCell.h"
#import "generalToolBox.h"
@interface ZCAreaVCListCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end


@implementation ZCAreaVCListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (selected) {
      self.nameLabel.textColor = [generalToolBox getColorWithHexadecimalColorStr:@"0xDF2C3F"];
    } else {
        self.nameLabel.textColor = [generalToolBox getColorWithHexadecimalColorStr:@"0x333333"];
    }
}

- (void)setDict:(NSDictionary *)dict {
    _dict = dict;
    self.nameLabel.text = [dict valueForKey:@"name"];
}

@end
